package com.ruoyi.yzd.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 易制毒-单位对象 yzd_unit
 * 
 * @author zyb
 * @date 2023-07-04
 */
public class YzdUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位ID */
    private Long unitId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 关联营业执照/image id list */
    @Excel(name = "关联营业执照/image id list")
    private String unitImageId;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String unitCredit;

    /** 单位性质 */
    @Excel(name = "单位性质")
    private String unitNature;

    /** 单位类型 */
    @Excel(name = "单位类型")
    private String unitType;

    /** 单位业务类型 */
    @Excel(name = "单位业务类型")
    private String businessType;

    /** 单位住所 */
    @Excel(name = "单位住所")
    private String unitAddress;

    /** 实际经营地 */
    @Excel(name = "实际经营地")
    private String unitLocation;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    private String corporation;

    /** 注册资本/万元 */
    @Excel(name = "注册资本/万元")
    private Long registerCapital;

    /** 成立日期/yyyy-mm-dd */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期/yyyy-mm-dd", width = 30, dateFormat = "yyyy-MM-dd")
    private Date setupTime;

    /** 营业期限 */
    @Excel(name = "营业期限")
    private String openTime;

    /** 从业人员数量 */
    @Excel(name = "从业人员数量")
    private Long staffNo;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String businessScope;

    /** 单位座机 */
    @Excel(name = "单位座机")
    private String unitLandline;

    /** 是否长期营业 0否1是 */
    @Excel(name = "是否长期营业 0否1是")
    private Long forever;

    /** 发证机关 */
    @Excel(name = "发证机关")
    private String licenceUnit;

    /** 行政区划 */
    @Excel(name = "行政区划")
    private String division;

    public void setUnitId(Long unitId) 
    {
        this.unitId = unitId;
    }

    public Long getUnitId() 
    {
        return unitId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnitImageId(String unitImageId) 
    {
        this.unitImageId = unitImageId;
    }

    public String getUnitImageId() 
    {
        return unitImageId;
    }
    public void setUnitCredit(String unitCredit) 
    {
        this.unitCredit = unitCredit;
    }

    public String getUnitCredit() 
    {
        return unitCredit;
    }
    public void setUnitNature(String unitNature) 
    {
        this.unitNature = unitNature;
    }

    public String getUnitNature() 
    {
        return unitNature;
    }
    public void setUnitType(String unitType) 
    {
        this.unitType = unitType;
    }

    public String getUnitType() 
    {
        return unitType;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setUnitAddress(String unitAddress) 
    {
        this.unitAddress = unitAddress;
    }

    public String getUnitAddress() 
    {
        return unitAddress;
    }
    public void setUnitLocation(String unitLocation) 
    {
        this.unitLocation = unitLocation;
    }

    public String getUnitLocation() 
    {
        return unitLocation;
    }
    public void setCorporation(String corporation) 
    {
        this.corporation = corporation;
    }

    public String getCorporation() 
    {
        return corporation;
    }
    public void setRegisterCapital(Long registerCapital) 
    {
        this.registerCapital = registerCapital;
    }

    public Long getRegisterCapital() 
    {
        return registerCapital;
    }
    public void setSetupTime(Date setupTime) 
    {
        this.setupTime = setupTime;
    }

    public Date getSetupTime() 
    {
        return setupTime;
    }
    public void setOpenTime(String openTime) 
    {
        this.openTime = openTime;
    }

    public String getOpenTime() 
    {
        return openTime;
    }
    public void setStaffNo(Long staffNo) 
    {
        this.staffNo = staffNo;
    }

    public Long getStaffNo() 
    {
        return staffNo;
    }
    public void setBusinessScope(String businessScope) 
    {
        this.businessScope = businessScope;
    }

    public String getBusinessScope() 
    {
        return businessScope;
    }
    public void setUnitLandline(String unitLandline) 
    {
        this.unitLandline = unitLandline;
    }

    public String getUnitLandline() 
    {
        return unitLandline;
    }
    public void setForever(Long forever) 
    {
        this.forever = forever;
    }

    public Long getForever() 
    {
        return forever;
    }
    public void setLicenceUnit(String licenceUnit) 
    {
        this.licenceUnit = licenceUnit;
    }

    public String getLicenceUnit() 
    {
        return licenceUnit;
    }
    public void setDivision(String division) 
    {
        this.division = division;
    }

    public String getDivision() 
    {
        return division;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("unitImageId", getUnitImageId())
            .append("unitCredit", getUnitCredit())
            .append("unitNature", getUnitNature())
            .append("unitType", getUnitType())
            .append("businessType", getBusinessType())
            .append("unitAddress", getUnitAddress())
            .append("unitLocation", getUnitLocation())
            .append("corporation", getCorporation())
            .append("registerCapital", getRegisterCapital())
            .append("setupTime", getSetupTime())
            .append("openTime", getOpenTime())
            .append("staffNo", getStaffNo())
            .append("businessScope", getBusinessScope())
            .append("unitLandline", getUnitLandline())
            .append("forever", getForever())
            .append("licenceUnit", getLicenceUnit())
            .append("division", getDivision())
            .toString();
    }
}
